stack: check for widget before calling is_ancestor()
authorChristian Hergert <christian@hergert.me>
Sun, 15 Feb 2015 02:11:54 +0000 (18:11 -0800)
committerChristian Hergert <christian@hergert.me>
Sun, 15 Feb 2015 02:11:54 +0000 (18:11 -0800)
commitbb53f893e25cbff9832e2ab6632ed5e306610e2b
treea08d69bffb26307c52f2ac9ac62d8f7e281b502b
parent5889905d1d8d6889dfa388e7d320ca10e154efc0
stack: check for widget before calling is_ancestor()

We can hit this path during the destruction case, where widget has
been released.

This fixes a lot of superfluous error messages on console.
gtk/gtkstack.c